package com.xckj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@ComponentScan(value = "com.xckj")
@MapperScan(basePackages = "com.xckj.dao")
@SpringBootApplication
public class CodeAuditingApplication {
	 public static void main(String[] args) {
		// 只需要run一下，就能发布一个springboot应用
		// 相当于之前将web工程发布到tomcat服务器，只是在springboot中集成了tomcat插件
	    SpringApplication.run(CodeAuditingApplication.class,args);
	}
}
